package com.kl.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-10-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_taxpayer")
@ApiModel(value="TbTaxpayer对象", description="")
public class TbTaxpayer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "tb_id", type = IdType.AUTO)
    private Long tbId;

    @ApiModelProperty(value = "发票抬头")
    private String tbInvoice;

    @ApiModelProperty(value = "发票类型(1个人,2单位)")
    private Integer tbType;

    @ApiModelProperty(value = "税号")
    private String tbDutyParagraph;

    @ApiModelProperty(value = "开户行")
    private String tbBankfDeposit;

    @ApiModelProperty(value = "银行账号 (开户银行账号)")
    private String tbBankfAccountNumber;

    @ApiModelProperty(value = "固定电话 (填写公司注册电话)")
    private String tbLandline;

    @ApiModelProperty(value = "地址 (填写税务登记证地址)")
    private String tbAddress;

    @ApiModelProperty(value = "收票人手机")
    private String tbPhone;

    @ApiModelProperty(value = "(添加时间)")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date tbStartTime;

    @ApiModelProperty(value = "收票人邮箱")
    private String tbEmail;

    @ApiModelProperty(value = "tb_username")
    private String tbUsername;

    @ApiModelProperty(value = "状态(0无,1默认,2逻辑删除)")
    private String tbState;


}
